package edu.whu.demo.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import edu.whu.demo.domain.Operation;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 
 * @since 2022-11-24
 */
public interface IOperationService extends IService<Operation> {
    //查看操作历史记录
    IPage<Operation> findOperation(Long id, Map<String, Object> condition, Integer pageNum, Integer pageSize);

    Operation addOperation(Operation operation);
}
